﻿
<div id="mid-con_b">
  <div id="c_list">
    <ul class="tabs">
      <li><a href="javascript:;">实物兑换</a></li>
    </ul>
    
    
    <div class="panes">
      <div>
        <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10" colspan="2" align="center">
              <div id="prizeshow"></div>                  </td>
            </tr>
            
            <tr>
              <td height="30" colspan="2" align="center">
                                              <table width="100%" border="0">
                                                <tr>
                                                  <td width="200" align="left"><h2>兑换项目：</h2></td>
                                                </tr>
                                                <?php
                                                foreach($page_list as $item):
                                                ?>
                                                <tr align="center">
                                                  <td><?=$item['id']?></td>
                                                  <td> <?=$item['goods']?> </td>
                                                  <td>需支出<?=$item['coins']?>粉币</td>
                                                  <td>
                                                  <a onclick="this.disabled=true;" style="padding:3px 20px;" href="javascript:;" class="btn btn-primary" id="exchange_btn_<?=$item['id']?>">兑换</a></td>


                                                </tr>
                                                <?php
                                                endforeach;
                                                ?>
                                              </table>
              </td>
            </tr>
            <tr>
              <td colspan="2" valign="top"><h2>&nbsp;</h2>                  </td>
            </tr>
            <tr>
              <td colspan="2"><hr></td>
            </tr>
            <tr>
              <td width="41%"><h2>最近兑换记录：</h2></td>
              <td width="59%">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="2"><table width="100%" border="00" cellspacing="0" cellpadding="0">
                <?php
                foreach($plist as $row)
                {
                ?>
                <tr>
                  <td width="55%"><?=$row['goods']?></td>
                  <td width="20%"><strong>+<?=$row['coins']?></strong>币</td>
                  
                  <td width="25%" align="right"><?=date('Y-n-j H:i:s',$row['create_time'])?></td>
                </tr>
                <?php
                }
                ?>
              </table></td>
            </tr>
          </table>
          
        </div>
      </div>
    </div>
  </div>
  <script src="/js/weibo.js?version=201301061532"></script>
  <script src="/js/index.js"></script>
  <script type="text/javascript" src="../js/prize.js?version=201301222132"></script>